package com.caius.xiaohashu.oss.biz.enums;

import com.caius.framework.common.exception.BaseExceptionInterface;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author Caius
 * @description
 * @since Created in 2025-05-16
 */
@Getter
@AllArgsConstructor
public enum ResponseCodeEnum implements BaseExceptionInterface {
    // ----------- 通用异常状态码 -----------
    SYSTEM_ERROR("OSS-10000", "出错了，后台小哥正在努力修复中..."),

    PARAM_NOT_VALID("OSS-10001", "参数错误"),
    ;
    // ----------- 业务异常状态码 -----------

    // 异常码
    private String errorCode;
    // 异常信息
    private String errorMessage;
}
